﻿<%@ Page  Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="AuthorityList.aspx.cs" Inherits="Web.Admin.AuthorityList" %>

<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="server">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title  am-cf">权限列表</div>


            </div>
            <div class="widget-body  am-fr">

                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                    <div class="am-form-group">
                        <div class="am-btn-toolbar">
                            <div class="am-btn-group am-btn-group-xs">
                                <asp:LinkButton ID="LinkButton2" runat="server" CssClass="am-btn am-btn-default am-btn-success" OnClick="LinkButton2_Click"><span class="am-icon-plus"></span>新增</asp:LinkButton>
                               
                                  
                                <!--
                                                <button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"></span> 保存</button>
                                                <button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>
                                                <button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>-->
                            </div>
                        </div>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                    <div class="am-form-group tpl-table-list-select">
                        <!--
                                        <select data-am-selected="{btnSize: 'sm'}" style="display: none;">
              <option value="option1">所有类别</option>
              <option value="option2">IT业界</option>
              <option value="option3">数码产品</option>
              <option value="option3">笔记本电脑</option>
              <option value="option3">平板电脑</option>
              <option value="option3">只能手机</option>
              <option value="option3">超极本</option>
            </select>-->
                        <div class="am-selected am-dropdown " id="am-selected-ag99l" data-am-dropdown="">
                            <button type="button" class="am-selected-btn am-btn am-dropdown-toggle am-btn-sm am-btn-default"><span class="am-selected-status am-fl">所有类别</span>    <i class="am-selected-icon am-icon-caret-down"></i></button>
                            <div class="am-selected-content am-dropdown-content">
                                <h2 class="am-selected-header"><span class="am-icon-chevron-left">返回</span></h2>
                                <ul class="am-selected-list">
                                    <li class="am-checked" data-index="0" data-group="0" data-value="option1"><span class="am-selected-text">所有类别</span>         <i class="am-icon-check"></i></li>
                                    <!--                               <li class="" data-index="1" data-group="0" data-value="option2">         <span class="am-selected-text">IT业界</span>         <i class="am-icon-check"></i></li>                                 <li class="" data-index="2" data-group="0" data-value="option3">         <span class="am-selected-text">数码产品</span>         <i class="am-icon-check"></i></li>                                 <li class="" data-index="3" data-group="0" data-value="option3">         <span class="am-selected-text">笔记本电脑</span>         <i class="am-icon-check"></i></li>                                 <li class="" data-index="4" data-group="0" data-value="option3">         <span class="am-selected-text">平板电脑</span>         <i class="am-icon-check"></i></li>                                 <li class="" data-index="5" data-group="0" data-value="option3">         <span class="am-selected-text">只能手机</span>         <i class="am-icon-check"></i></li>                                 <li class="" data-index="6" data-group="0" data-value="option3">         <span class="am-selected-text">超极本</span>         <i class="am-icon-check"></i></li>     -->
                                </ul>
                                <div class="am-selected-hint"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                    <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                        <input type="text" class="am-form-field ">
                        <span class="am-input-group-btn">
                            <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search" type="button"></button>
                        </span>
                    </div>
                </div>

                <div class="am-u-sm-12">
                    <table class="am-table am-table-compact am-table-striped tpl-table-black " id="example-r" width="100%">
                        <thead>
                            <tr>
                                <th>编号</th>
                                <th>名称</th>
                                <th>权限码</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <asp:Repeater ID="Repeater1" runat="server">
                                <ItemTemplate>
                                    <tr class="gradeX">
                                        <td><%# Eval("Id") %></td>
                                        <td><%# Eval("Name") %></td>
                                       
                                        <td><%#Eval("Code")%></td>
                                        <td>
                                            <div class="tpl-table-black-operation">
                                                <a href="/Admin/AuthorityAdd.aspx?id=<%# Eval("Id") %>">
                                                    <i class="am-icon-pencil"></i>编辑
                                                        </a>
                                                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="tpl-table-black-operation-del" OnCommand="LinkButton1_Command" CommandArgument='<%# Eval("Id") %>'><i class="am-icon-trash" ></i>删除</asp:LinkButton>
                                                

                                            </div>
                                        </td>
                                    </tr>

                                </ItemTemplate>

                            </asp:Repeater>

                            <!-- more data -->
                        </tbody>
                    </table>
                </div>
                <div class="am-u-lg-12 am-cf">

                    <div class="am-fr">
                        <ul class="am-pagination tpl-pagination">
                            <li class="am-disabled"><a href="#">«</a></li>
                            <li class="am-active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li><a href="#">»</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>



</asp:content>
